package iedcyt.acute.dataAccess.dao.endnote;


import iedcyt.acute.dataAccess.domain.endnote.REC_Xml;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.ResultSetExtractor;



public class REC_XmlResultSetExtractor implements ResultSetExtractor<REC_Xml> {

	@Override
	public REC_Xml extractData(ResultSet rs) throws SQLException {
		REC_Xml doc = new REC_Xml(rs.getInt("id"), rs.getString("rec"), rs.getString("notes"));
		
		return doc;
	}

}
